import {createNativeStackNavigator} from '@react-navigation/native-stack';
const Stack = createNativeStackNavigator();
export default () => {
  return (
    <Stack.Navigator
      initialRouteName="fight">
      <Stack.Screen
        name="fight"
        getComponent={() => require('./fight').default}
        options={{
          headerShown: false,
        }}
      />
      <Stack.Screen
        name="fightRecords"
        getComponent={() => require('./fightRecords').default}
        options={{
          title: '作战记录',
        }}
      />
    </Stack.Navigator>
  );
};
